package org.ruiyichen.guizhou.agr.utils;

import android.content.Context;


/**
 * 设置工具栏
 */
public class SettingUtils {

    private static volatile SettingUtils instance;


    public static SettingUtils getInstance() {
        if (null == instance) {
            instance = new SettingUtils();
        }
        return instance;
    }

    private SettingUtils() {
    }


    /**
     * 设置消息推送
     *
     * @param context
     * @param on      true 开;false: 关;
     */
    public void setMsgPush(Context context, boolean on) {
//        AData.get(context).put(Constant.DB.IS_PUSH, on ? "1" : "0");
    }

    /**
     * 是否开启推送
     *
     * @param context
     * @return
     */
    public boolean hasMsgPush(Context context) {
//        return "1".equals(AData.get(context).getAsString(Constant.DB.IS_PUSH));
        return false;
    }

}
